package com.ctrip.ec.biz.entity.order;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("e_order_discount")
public class OrderDiscountEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("order_id")
    private Long orderId;
    @DbColumn("dicount")
    private BigDecimal dicount;
    @DbColumn("create_id")
    private Long createId;
    @DbColumn("create_name")
    private String createName;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("create_time")
    private Timestamp createTime;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  Long getOrderId(){
        return this.orderId;
    }
    public void setOrderId(Long orderId){
        this.orderId = orderId;
    }
    public  BigDecimal getDicount(){
        return this.dicount;
    }
    public void setDicount(BigDecimal dicount){
        this.dicount = dicount;
    }
    public  Long getCreateId(){
        return this.createId;
    }
    public void setCreateId(Long createId){
        this.createId = createId;
    }
    public  String getCreateName(){
        return this.createName;
    }
    public void setCreateName(String createName){
        this.createName = createName;
    }
    public  Timestamp getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
}